﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpGuiMainFrameInterface.h"

namespace gcmp
{
    /// \brief RibbonGroup控制对象接口， 用户可以基于它派生来控制RibbonGroup可见性状态
    class GCMP_GUI_MAIN_FRAME_INTERFACE_EXPORT IGroupHandler
    {
    public:
        /// \brief 析构函数
        virtual ~IGroupHandler();

        /// \brief 得到RibbonGroup的可见性
        /// \return  返回true表示可见，返回false表示不可见
        virtual bool IsVisible() const = 0;
    };

}

